Skip to content

Instantly share code, notes, and snippets.

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@shadowandy
shadowandy / openclaw-searxng-setup.md
Last active July 20, 2026 00:47
OpenClaw Searxng Setup

SearXNG Web Search Setup for OpenClaw

Run these steps on the OpenClaw host to give the bot free, unlimited web search (no API key needed).

1. Create SearXNG config

mkdir -p ~/searxng/searxng
SECRET=$(openssl rand -hex 32)
cat > ~/searxng/searxng/settings.yml << EOF
@Angel-Delg
Angel-Delg / config.md
Last active July 20, 2026 00:47
Git Alias

Configuración para mejorar la lecturas de commits

git config --global alias.lg "log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
@bonus414
bonus414 / README.md
Last active July 20, 2026 00:43
AI Writing Linter — eslint for AI writing: a deterministic linter for the patterns that make text read as AI-generated, with a composable base ruleset + personal-voice layer

AI Writing Linter — eslint for AI writing

Telling a model "sound human, don't be cringe" doesn't reliably work — the tells leak right back in on the next draft. So instead of asking, this lints: a deterministic checker for the patterns that scream "an AI wrote this."

Two composable layers:

  • check_text.py — the base. Catches the universal AI tells: puffery ("boasts a", "rich tapestry"), importance-emphasis ("plays a vital role"),
@laytan
laytan / main.odin
Last active July 20, 2026 00:32
Raylib logging callback to Odin logger
logger: log.Logger
rl_log_buf: []byte
rl_log :: proc "c" (logLevel: rl.TraceLogLevel, text: cstring, args: libc.va_list) {
context = runtime.default_context()
context.logger = logger
level: log.Level
switch logLevel {
case .TRACE, .DEBUG: level = .Debug
case .ALL, .NONE, .INFO: level = .Info
@rise-worlds
rise-worlds / For Mac 4.2.6 unlimited trial.md
Last active July 20, 2026 00:23 — forked from satish-setty/trial.md
Beyond Compare 4 license for Windows, Mac, Linux

for 4.2.4 or higher, 4.2.5,4.2.6,4.3.7, it's works, this is the way which makes Always in evaluation mode.

  1. open Terminal, go to the dir : cd /Applications/Beyond Compare.app/Contents/MacOS
  2. change the name BCompare to BCompare.bak: mv BCompare BCompare.bak
  3. touch a file name BCompare , and chmod a+ux BCompare : touch BCompare && chmod a+ux BCompare
  4. open BCompare with text editor, insert the script :
#!/bin/bash
rm "/Users/$(whoami)/Library/Application Support/Beyond Compare/registry.dat"
"`dirname "$0"`"/BCompare.bak $@
name explain-diff-html
description Use when the user asks for a rich explanation of a code change, diff, branch, or PR. Produces HTML output.

Explain Diff

Please make me a rich, interactive explanation of the specified code change.

It should have these sections: